package com.party.business.domain;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.party.common.annotation.Excel;
import com.party.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 评论对象 t_comment
 *
 * @author ruoyi
 * @date 2025-01-04
 */
@Data
@TableName(value = "t_comment")
@EqualsAndHashCode(callSuper = true)
public class TComment extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    /** "评论内容" */
    @Excel(name = "评论内容")
    private String content;

    /** "业务Id" */
    @Excel(name = "业务Id")
    private String businessId;

    /** "用户Id" */
    @Excel(name = "用户Id")
    private String userId;

    /** "评分" */
    @Excel(name = "评分")
    private BigDecimal score;

    /** "状态 1 是 2 否" */
    private String status;

    private String delFlag;
    /** "用户昵称" */
    @TableField(exist = false)
    private String nickName;

    /** "用户头像" */
    @TableField(exist = false)
    private String avatar;

    /** "课程名称" */
    @TableField(exist = false)
    private String kcName;




}
